﻿<UserControl x:Class="Project.RemissionOfCaseUI"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:CustomControls="clr-namespace:CustomControls;assembly=CustomControls"
             xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit" mc:Ignorable="d" 
             d:DesignHeight="654" d:DesignWidth="900">
    <!--520 de height-->
    <Grid>
        <Grid Height="36" Margin="11,11,56,0" Name="gridTitle"  VerticalAlignment="Top">
            <Border BorderBrush="#5C5C5C" BorderThickness="0,0,0,2">
                <TextBlock FontSize="24" FontWeight="Normal" Text="Remisión de Caso Investigado" HorizontalAlignment="Left" ></TextBlock>
            </Border>
        </Grid>
        <Grid Margin="0,51,0,0" Height="469" VerticalAlignment="Top">
            <ScrollViewer VerticalScrollBarVisibility="Visible"   >
                <ItemsControl>
                <Grid Name="ContentGrid" Height="600">
                        <Label Content="Al señor(a):" Height="21" HorizontalAlignment="Left" Margin="56,83,0,0" Name="label2" VerticalAlignment="Top" />
                    <CustomControls:MaskTextBox Height="23" MaxLength="150"  DataType="RegEx" RegEx="^[A-Za-z'áéíóúAÉÍÓÚÑñ\s]+$" HorizontalAlignment="Left" Margin="56,110,0,0" Name="tbMrOrMs" VerticalAlignment="Top" Width="412" TextChanged="tbMrOrMs_TextChanged" />
                    <TextBlock Height="23" HorizontalAlignment="Left" Margin="56,139,0,0" Name="textBlock1" Text="Presente.-" VerticalAlignment="Top" />
                    <TextBlock Height="21" HorizontalAlignment="Left" Margin="56,168,0,0" Name="textBlock2" Text="Al haber concluido la investigación del caso N°" VerticalAlignment="Top" Width="251" />
                        <Label Content="Label" FontWeight="Bold" Height="21" HorizontalAlignment="Left" Margin="310,168,0,0" Name="lblCaseNum" VerticalAlignment="Top" />
                    <TextBlock Height="23" HorizontalAlignment="Left" Margin="344,168,0,0" Name="textBlock3" Text=", sobre violencia intra familiar" VerticalAlignment="Top" />
                    <TextBlock Height="23" HorizontalAlignment="Left" Margin="56,236,0,0" Name="textBlock8" Text="en cumplimiento a lo disupuesto por la ley 1674 contra la violencia Familiar, remitimos" VerticalAlignment="Top" />
                    <TextBlock Height="23" HorizontalAlignment="Left" Margin="56,259,0,0" Name="textBlock9" Text="a conocimiento de su autoridad en fojas:" VerticalAlignment="Top" />
                    <CustomControls:MaskTextBox DataType="RegEx" Height="23" HorizontalAlignment="Left" Margin="277,257,0,0" MaxLength="2" Name="tbFojasNumber" RegEx="^[0-9\s]+$" VerticalAlignment="Top" Width="78" />
                    <TextBlock Height="23" HorizontalAlignment="Left" Margin="361,259,0,0" Name="textBlock10" Text=", el médico forense con" VerticalAlignment="Top" />
                    <CustomControls:MaskTextBox DataType="RegEx" Height="23" HorizontalAlignment="Left" Margin="490,257,0,0" MaxLength="3" Name="tbImpedimentDays" RegEx="^[0-9\s]+$" VerticalAlignment="Top" Width="53" />
                    <TextBlock Height="23" HorizontalAlignment="Left" Margin="56,283,0,0" Name="textBlock11" Text="dias de impedimentos y las diligencias elaboradas al respecto, por la asignada" VerticalAlignment="Top" />
                    <TextBlock Height="23" HorizontalAlignment="Left" Margin="56,327,0,0" Name="textBlock13" Text="Así mismo son remitidas ante su autoridad las personas que responden a los nombres de:" VerticalAlignment="Top" />
                    <CustomControls:MaskTextBox  MaxLength="250" AcceptsReturn="True" DataType="RegEx" Height="57" HorizontalAlignment="Left" Margin="56,356,0,0" Name="tbRemitedPeople" RegEx="^[A-Za-z'áéíóúAÉÍÓÚÑñ\s]+$" VerticalAlignment="Top" Width="611" />
                    <TextBlock Height="23" HorizontalAlignment="Left" Margin="56,419,0,0" Name="textBlock14" Text="para fines consiguientes de Ley." VerticalAlignment="Top" />
                    <StackPanel Margin="0,436,0,0" Orientation="Horizontal" Height="40" VerticalAlignment="Top">
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="56,4,0,0" Name="textBlock15" Text="Con este motivo saludo, a el(la) Señor(a)" VerticalAlignment="Top" />
                        <Label Content="" Height="23" HorizontalAlignment="Left" Margin="5,4,0,0" Name="lblMrOrMs" VerticalAlignment="Top" />
                        <TextBlock Height="17" Margin="5,0,0,14" Name="textBlock16" Text="De" />
                        <CustomControls:MaskTextBox Margin="5,0,0,9" DataType="RegEx" Height="23" MaxLength="50" Name="tbInstitution" RegEx="^[A-Za-z'áéíóúAÉÍÓÚÑñ\s]+$" Width="202" />
                    </StackPanel>
                    <TextBlock Height="23" HorizontalAlignment="Left" Margin="56,466,0,0" Name="textBlock17" Text="con las atenciones mas distinguidas." VerticalAlignment="Top" />
                    <StackPanel Margin="0,189,0,0" Orientation="Horizontal" Height="26" VerticalAlignment="Top">
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="56,0,0,0" Name="textBlock4" Text="de la (del) denunciante" VerticalAlignment="Top" />
                            <Label Content="Label" FontWeight="Bold" Height="23" HorizontalAlignment="Left" Margin="5,0,0,0" Name="lblComplainantName" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="5,0,0,0" Name="textBlock5" Text=", con C.I." VerticalAlignment="Top" />
                            <Label Content="Label" FontWeight="Bold" Height="23" HorizontalAlignment="Left" Margin="5,0,0,0" Name="lblComplainantCi" VerticalAlignment="Top" />
                    </StackPanel>
                    <StackPanel Margin="0,213,0,0" Orientation="Horizontal" Height="25" VerticalAlignment="Top">
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="56,0,0,0" Name="textBlock6" Text="en contra de" VerticalAlignment="Top" />
                        <Label Content="Label" FontWeight="Bold" Height="23" HorizontalAlignment="Left" Margin="5,0,0,0" Name="lblAggressorName" VerticalAlignment="Top" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="5,0,0,0" Name="textBlock7" Text=", con C.I." VerticalAlignment="Top" />
                        <Label Content="Label" FontWeight="Bold" Height="23" HorizontalAlignment="Left" Margin="5,0,0,0" Name="lblAggressorCi" VerticalAlignment="Top" />
                    </StackPanel>
                    <StackPanel Margin="0,305,0,0" Orientation="Horizontal" Height="26" VerticalAlignment="Top">
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="56,0,0,0" Name="textBlock12" Text="la sra. (ita.)" VerticalAlignment="Top" />
                        <Label Content="" FontWeight="Bold" Height="23" HorizontalAlignment="Left" Margin="5,0,0,0" Name="lblAsignedName" VerticalAlignment="Top" />
                        </StackPanel>
                        <Button Height="41" HorizontalAlignment="Left" Margin="396,530,0,0" Name="btnPrint" ToolTip="Imprimir la remision de caso" VerticalAlignment="Top" Width="114" Click="btnPrint_Click_1">
                                <Button.Content>
                                    <StackPanel>
                                        <StackPanel Orientation="Horizontal">
                                            <TextBlock Text="IMPRIMIR" Margin="4,0,0,0" VerticalAlignment="Center" />
                                            <Image Height="27" Margin="7,0,0,0" Name="prntImg" Source="Images/Print.gif" VerticalAlignment="Center" />
                                            <Image Source="Images/DrpDwn.gif" Margin="3,0,3,0" />
                                        </StackPanel>
                                        <xctk:DropDownButton Height="0" Margin="-6,0,0,-6" Name="DrpDownPrintOptions" VerticalAlignment="Bottom">
                                            <xctk:DropDownButton.DropDownContent>
                                                <StackPanel Width="114">
                                                    <MenuItem FontSize="12" Header="Vista Preliminar" Name="PrintPreview" Click="PrintPreview_Click"  />
                                                <MenuItem FontSize="12" Header="Imprimir" Name="Print" Click="btnPrint_Click" />
                                                </StackPanel>
                                            </xctk:DropDownButton.DropDownContent>
                                        </xctk:DropDownButton>
                                    </StackPanel>
                                </Button.Content>
                            </Button>
                            <Button Height="41" Content="GUARDAR" HorizontalAlignment="Left" Margin="510,530,0,0" Name="btnSave" ToolTip="Guardar la remision de caso" VerticalAlignment="Top" Width="100" Click="btnSave_Click"/>
                        <Label Content="Numero de Caso:" FontSize="20" FontWeight="Normal" Height="28" HorizontalAlignment="Left" Margin="54,26,0,0" Name="label28" VerticalAlignment="Top" />
                        <Label Content="" FontSize="32" FontWeight="Light" Height="45" HorizontalAlignment="Left" Margin="212,17,0,0" Name="lblCaseNumber" VerticalAlignment="Top" />
                        <Label Content="Fecha de Remisión:" FontSize="20" FontWeight="Normal" Height="28" HorizontalAlignment="Left" Margin="378,27,0,0" Name="label39" VerticalAlignment="Top" />
                        <Label Content="11/11/2011" FontSize="18" FontWeight="Normal" Height="28" HorizontalAlignment="Left" Margin="553,30,0,0" Name="lblRemissionDate" VerticalAlignment="Top" />
                    </Grid>
                </ItemsControl>
            </ScrollViewer>
        </Grid>
    </Grid>
</UserControl>
